if(BUILD_TESTS)
    add_executable(tlvf_test tlvf_test.cpp)
    target_link_libraries(tlvf_test mapf::elpp common tlvf)
    install(TARGETS tlvf_test DESTINATION bin/tests)
    add_test(NAME tlvf_test COMMAND $<TARGET_FILE:tlvf_test>)
endif()
